package com.tt.dp.observer.test;

import com.tt.dp.observer.observer.StatisticsDisplay;
import com.tt.dp.observer.subject.WeatherData;

public class WeatherStation {

    public static void main(String[] args) {


        WeatherData weatherData = new WeatherData();

        StatisticsDisplay statisticsDisplay = new StatisticsDisplay(weatherData);

        weatherData.setMeasurements(10,65,29.5f);
        weatherData.setMeasurements(21,53,38.5f);
    }
}
